package com.example.demo.jpa.service;

import com.example.demo.jpa.entity.SolitaireStatistics;
import com.example.demo.jpa.entity.vo.SolitaireStatisticsVo;

import java.util.List;
import java.util.Map;

/**
 * Created with Software IntelliJ IDEA
 * <p>
 *
 * @author Administrator  2019/9/15 13:26
 * @version 1.0
 */
public interface SolitaireStatisticsService {

    int deleteByPrimaryKey(Long id);

    int insertSelective(SolitaireStatistics record);

    int updateByPrimaryKeySelective(SolitaireStatistics record);

    SolitaireStatistics selectByPrimaryKey(Long id);

    int deleteBySolitaireId(Long solitaireId);

    SolitaireStatistics selectByParams(Long userId, Long solitaireId);

    List<SolitaireStatisticsVo> selectByParams(Long solitaireId);

    List<SolitaireStatisticsVo> selectByParams(Map<String, Object> params);

    int selectCountByParams(Map<String, Object> params);
}
